package map.core;

import java.awt.Image;
import java.util.Properties;

public class Tile {

	private Properties properties;
	private TileSet tileset;
	private int tile_imgID = -1;

	public Tile() {
		properties = new Properties();
	}

	public Tile(TileSet tileset) {
		this.tileset = tileset;
	}

	public Tile(Tile tile) {
		properties = (Properties) tile.properties.clone();
		tileset = tile.tileset;
		tile_imgID = tile.tile_imgID;
		
	}
	
	public void setID(int id){
		if(id>=0){
			tile_imgID=id;
		}
	}
	
	public void setImage(int id){
		tile_imgID=id;
	}
	
	public void setImage(Image img){
		if(img!=null){
			tileset.
		}
	}
}
